package com.ruoyi.system.domain.vo;

import lombok.Data;

import java.util.List;

/**
 * (功能简述)
 *
 * @author WGZ
 * @version 1.0.0
 * @date: 2025/03/31 16:36
 * @project: RuoYi-Vue-master
 */
@Data
public class YearStatResult {
    private Integer year;         // 统计年份
    private List<MonthStat> monthlyData; // 每月数据

    @Data
    public static class MonthStat {
        private Integer month;
        private Integer monthTotal;
        private List<DeptStat> deptStats; // 部门统计列表
    }

    @Data
    public static class DeptStat {
        private String deptName;
        private Integer caseCount;
    }
}
